import { addIcon } from "@iconify/vue/dist/offline";

/**
 * 这里存放本地图标，在 src/layout/index.vue 文件中加载，避免在首启动加载
 */

// 本地菜单图标，后端在路由的icon中返回对应的图标字符串并且前端在此处使用addIcon添加即可渲染菜单图标
import HomeFilled from "@iconify-icons/ri/home-2-line";
import InformationLine from "@iconify-icons/ri/information-line";
import Heart from "@iconify-icons/ri/heart-line";
import Phone from "@iconify-icons/ri/phone-fill";
import User from "@iconify-icons/ep/user";
import Clock from "@iconify-icons/ep/clock";
import Setting from "@iconify-icons/ep/setting";
import Dislike from "@iconify-icons/ri/dislike-line";
import Search from "@iconify-icons/ep/search";
import Refresh from "@iconify-icons/ep/refresh";
import Delete from "@iconify-icons/ri/delete-bin-5-line";
import Add from "@iconify-icons/ri/add-fill";

addIcon("homeFilled", HomeFilled);
addIcon("informationLine", InformationLine);
addIcon("heart", Heart);
addIcon("phone", Phone);
addIcon("user", User);
addIcon("clock", Clock);
addIcon("setting", Setting);
addIcon("dislike", Dislike);
addIcon("search", Search);
addIcon("refresh", Refresh);
addIcon("delete", Delete);
addIcon("add", Add);
